package com.rn.ddd.domain.order.event;

import com.rn.ddd.infrastructure.engine.constant.OrderEventEnum;
import com.rn.ddd.infrastructure.engine.constant.OrderStateEnum;
import com.rn.ddd.infrastructure.engine.OrderEvent;

/**
 * 订单事件-更新
 *
 * @author 然诺
 * @date 2022/3/26
 */
public class UpdateOrderEvent implements OrderEvent {

    @Override
    public String getEventType() {
        return OrderEventEnum.CREATE.name();
    }

    @Override
    public String orderState() {
        return OrderStateEnum.INIT.name();
    }
}
